//
//  Team.h
//
//  Created by Kevin Schewior on 04.12.11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

//a team encapsulates different players (playing in one team) under a certain name

#import <Foundation/Foundation.h>
#import "Located.h"

@interface Team : NSObject <NSCoding, Located>{
	//identification attributes
	NSString* name;

	//status attributes
	int current_money;
	int current_points;
    
  //base attributes
  double base_long;
  double base_lat;

	//players
	NSMutableDictionary* players;
}

@property (readonly) NSString* name;
@property int current_money;
@property int current_points;
@property double base_long;
@property double base_lat;
@property (assign) NSMutableDictionary* players;

-(id) initWithName: (NSString*) pName;

@end
